Produced by Araxis Merge on 2024-03-04 14:38:52 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.7/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/html | filter_toggle.phtml | 2016-09-14 23:54:10 +0000 |
| 2 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.8/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/html | filter_toggle.phtml | 2016-09-14 23:54:10 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 54 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $filter_toggle = $this->getConfig('porto_settings/category/filter_toggle'); | 2 | $filter_toggle = $this->getConfig('porto_settings/category/filter_toggle'); | |||
| 3 | ?> | 3 | ?> | |||
| 4 | <script type="text/javascript"> | 4 | <script type="text/javascript"> | |||
| 5 | require([ | 5 | require([ | |||
| 6 | 'jquery' | 6 | 'jquery' | |||
| 7 | ], function ($) { | 7 | ], function ($) { | |||
| 8 | $(document).ready(function(){ | 8 | $(document).ready(function(){ | |||
| 9 | $("#layer-product-list > .toolbar-products > .modes").prepend('<a href="javascript:void(0)" class="filter-toggle active"><?php echo __('Filter'); ?></a>'); | 9 | $("#layer-product-list > .toolbar-products > .modes").prepend('<a href="javascript:void(0)" class="filter-toggle active"><?php echo __('Filter'); ?></a>'); | |||
| 10 | $(".filter-toggle").off("click").on("click", function(){ | 10 | $(".filter-toggle").off("click").on("click", function(){ | |||
| 11 | if($(this).hasClass("active")) { | 11 | if($(this).hasClass("active")) { | |||
| 12 | $(".columns .sidebar-main").addClass("toggle-close"); | 12 | $(".columns .sidebar-main").addClass("toggle-close"); | |||
| 13 | $(".columns .column.main").addClass("toggle-close"); | 13 | $(".columns .column.main").addClass("toggle-close"); | |||
| 14 | $(this).removeClass("active"); | 14 | $(this).removeClass("active"); | |||
| 15 | } else { | 15 | } else { | |||
| 16 | $(".columns .sidebar-main").removeClass("toggle-close"); | 16 | $(".columns .sidebar-main").removeClass("toggle-close"); | |||
| 17 | $(".columns .column.main").removeClass("toggle-close"); | 17 | $(".columns .column.main").removeClass("toggle-close"); | |||
| 18 | $(this).addClass("active"); | 18 | $(this).addClass("active"); | |||
| 19 | } | 19 | } | |||
| 20 | setTimeout(function(){ | 20 | setTimeout(function(){ | |||
| 21 | var carousel = $('.owl-carousel').data('owlCarousel'); | 21 | var carousel = $('.owl-carousel').data('owlCarousel'); | |||
| 22 | carousel.onResize(); | 22 | carousel.onResize(); | |||
| 23 | }, 600); | 23 | }, 600); | |||
| 24 | }); | 24 | }); | |||
| 25 | }); | 25 | }); | |||
| 26 | }); | 26 | }); | |||
| 27 | </script> | 27 | </script> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.